package org.com.behavioralPattern.visitorPattern;

/**
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/27 18:01
 */
public abstract class Hardware {
    String type; //型号
    public Hardware(String type){
        this.type=type;
    }

    public String getType(){
        return type;
    }

    public abstract void run();

    public abstract void accept(ComputerVisitor computervisitor);

}
